请求高人帮助<title>代码<title>如何修改

来源:百度知道 编辑:UC知道 时间:2024/05/21 07:49:55
<a href=class.asp?lx=small&anid=<%=anclassid%>%0B%22d=<%=nclassid%>><=nclassname%></a>
这个从数据库里提取的数据,想以这一数据中的<=nclassnme%>加入<title>中,可试了几种方式是不行.
例:<% set rst=server.CreatObject("adodb.recordset")
rs.open "select title * from shop_ from shop_nclass where nclassid" ,conn,1,1
dim title
title=rs("title")
rs.close
set rs=nothing
%>
请高手帮助修改.谢谢
以上例中的代码我已经试过出错,不知哪里出错,请高手帮助修改
就算删除其中一个还是不行.晕!!!

<% set rst=server.CreatObject("adodb.recordset")
rs.open "select title * from shop_ from shop_nclass where nclassid" ,conn,1,1
dim title
title=rs("title")
rs.close
set rs=nothing
%>

<title><%=title%></title>

sql语句肯定是错的。